import request from '@/utils/request'

// 获取统计概览数据
export function getStatOverview() {
  return request({
    url: '/education/statistics/overview',
    method: 'get'
  })
}

// 获取活动分类统计
export function getCategoryStats() {
  return request({
    url: '/education/statistics/category',
    method: 'get'
  })
}

// 获取报名趋势数据
export function getEnrollmentTrend(params) {
  return request({
    url: '/education/statistics/trend',
    method: 'get',
    params: params
  })
}

// 获取热门活动排行
export function getHotActivities(params) {
  return request({
    url: '/education/statistics/hotActivities',
    method: 'get',
    params: params
  })
}

// 获取学生参与统计
export function getStudentParticipation(params) {
  return request({
    url: '/education/statistics/studentParticipation',
    method: 'get',
    params: params
  })
} 